\hypertarget{class_p_lset}{
\subsection{PLset Class Reference}
\label{class_p_lset}\index{PLset@{PLset}}
}
Describes the PL lanaguage for the sets Base class for \hyperlink{class_follow}{Follow} or \hyperlink{class_first}{First} sets.  


{\tt \#include $<$PLset.h$>$}

\subsubsection*{Public Types}
\begin{CompactItemize}
\item 
enum \hyperlink{class_p_lset_8e7b158091e324d959e46bdb0ddd1342}{NonTerminal} 
\begin{CompactList}\small\item\em The valid non-terminals. \item\end{CompactList}\end{CompactItemize}
\subsubsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{class_p_lset_ab1178bb222a217705d17ef830860e26}{
\hyperlink{class_p_lset_ab1178bb222a217705d17ef830860e26}{PLset} ()}
\label{class_p_lset_ab1178bb222a217705d17ef830860e26}

\begin{CompactList}\small\item\em Constuctor. \item\end{CompactList}\item 
\hyperlink{class_p_lset_03f56f2c6a8ec8f4d1a92fa24945e73c}{PLset} (\hyperlink{class_p_lset}{PLset} $\ast$s1, \hyperlink{class_p_lset}{PLset} $\ast$s2)
\begin{CompactList}\small\item\em Constuctor. \item\end{CompactList}\item 
void \hyperlink{class_p_lset_f613f377fe5009697425750cabdbae1e}{add} (Token::Token $\ast$terminal)
\begin{CompactList}\small\item\em Add a \hyperlink{class_token}{Token} to the set. \item\end{CompactList}\item 
vector$<$ \hyperlink{class_token}{Token} $\ast$ $>$ \hyperlink{class_p_lset_920651b6f7a775b505b2c63e1950a7c9}{Set} ()
\begin{CompactList}\small\item\em Getter - set. \item\end{CompactList}\item 
bool \hyperlink{class_p_lset_0221d06d227b9de270ed1743b79c378c}{has} (Token::Token $\ast$token)
\begin{CompactList}\small\item\em Check if the set has the token . \item\end{CompactList}\item 
string \hyperlink{class_p_lset_b7c118ce956dd445146875945b052df4}{toString} ()
\begin{CompactList}\small\item\em A String representation of the set. \item\end{CompactList}\end{CompactItemize}


\subsubsection{Detailed Description}
Describes the PL lanaguage for the sets Base class for \hyperlink{class_follow}{Follow} or \hyperlink{class_first}{First} sets. 

\subsubsection{Member Enumeration Documentation}
\hypertarget{class_p_lset_8e7b158091e324d959e46bdb0ddd1342}{
\index{PLset@{PLset}!NonTerminal@{NonTerminal}}
\index{NonTerminal@{NonTerminal}!PLset@{PLset}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}enum {\bf PLset::NonTerminal}}\hfill}
\label{class_p_lset_8e7b158091e324d959e46bdb0ddd1342}


The valid non-terminals. 

This is all the valid non-terminals used in the PL language. 

\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{class_p_lset_03f56f2c6a8ec8f4d1a92fa24945e73c}{
\index{PLset@{PLset}!PLset@{PLset}}
\index{PLset@{PLset}!PLset@{PLset}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}PLset::PLset ({\bf PLset} $\ast$ {\em s1}, {\bf PLset} $\ast$ {\em s2})}\hfill}
\label{class_p_lset_03f56f2c6a8ec8f4d1a92fa24945e73c}


Constuctor. 

Create a \hyperlink{class_p_lset}{PLset} from set 1 and set 2 \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em s1}]set 1 \item[{\em s2}]set 2 \end{description}
\end{Desc}


\subsubsection{Member Function Documentation}
\hypertarget{class_p_lset_f613f377fe5009697425750cabdbae1e}{
\index{PLset@{PLset}!add@{add}}
\index{add@{add}!PLset@{PLset}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void PLset::add (Token::Token $\ast$ {\em terminal})}\hfill}
\label{class_p_lset_f613f377fe5009697425750cabdbae1e}


Add a \hyperlink{class_token}{Token} to the set. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em terminal}]The terminal to add the set \end{description}
\end{Desc}
\hypertarget{class_p_lset_920651b6f7a775b505b2c63e1950a7c9}{
\index{PLset@{PLset}!Set@{Set}}
\index{Set@{Set}!PLset@{PLset}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}vector$<$ {\bf Token} $\ast$ $>$ PLset::Set ()}\hfill}
\label{class_p_lset_920651b6f7a775b505b2c63e1950a7c9}


Getter - set. 

\begin{Desc}
\item[Returns:]A vector (set) \end{Desc}
\hypertarget{class_p_lset_0221d06d227b9de270ed1743b79c378c}{
\index{PLset@{PLset}!has@{has}}
\index{has@{has}!PLset@{PLset}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}bool PLset::has (Token::Token $\ast$ {\em token})}\hfill}
\label{class_p_lset_0221d06d227b9de270ed1743b79c378c}


Check if the set has the token . 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em token}]The token to look for \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if token is in the set, otherwise false \end{Desc}
\hypertarget{class_p_lset_b7c118ce956dd445146875945b052df4}{
\index{PLset@{PLset}!toString@{toString}}
\index{toString@{toString}!PLset@{PLset}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}string PLset::toString ()}\hfill}
\label{class_p_lset_b7c118ce956dd445146875945b052df4}


A String representation of the set. 

\begin{Desc}
\item[Returns:]A string \end{Desc}
